﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SharedGenomics.Domain
{
    /// <summary>
    /// DTO containing information about a data set
    /// </summary>
    [DataContract]
    public class DataSetSummary
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public decimal? IndividualMissingnessRate { get; set; }

        [DataMember]
        public decimal? SnpGenotypingRate { get; set; }

        [DataMember]
        public decimal? MAF { get; set; }

        [DataMember]
        public decimal? HardyWeinbergP { get; set; }

        [DataMember]
        public CategoryFilterSummary[] CategoryFilters { get; set; }

        [DataMember]
        public DateTime CreatedDate { get; set; }

        [DataMember]
        public int SnpCount { get; set; }

        [DataMember]
        public int IndividualCount { get; set; }

        [DataMember]
        public string PhenotypeColumnName { get; set; }

        [DataMember]
        public string PhenotypeColumnLabel { get; set; }

        [DataMember]
        public bool IsBinaryPhenotype { get; set; }

        [DataMember]
        public int FileSchemaId { get; set; }
    }
}
